powered by
Calculates and plots AC sinusoidal waves in the time domain and phasors.
rectifier(v.t, full = FALSE) ac.plot.rect(V.t, v.lab = "v(t)", v.units = "V", y.lab = "v(t)[V]", rms = FALSE) inverter(x)
Values of AC variable at time intervals calculated using waves
Logical to use full wave rectifier
output of rectifier
Label for variable in time domain plot or phasor plot; time domain would typically include (t) and phasor would be upper case
Units for variable in time domain plot or phasor plot; time domain would typically include (t) and phasor would be upper case
Label for y axis composed of variable label and units
Logical for whether the RMS value is addedd to the plot
list(f,vin,nc): frequency, input voltage, number of cycles
output of rectifier list(w,t,nw,ym,ang,y,yrms,yavg)
Values of rectified AC variable at time intervals calculated using rectifier
Calculations of basic power electronics devices
Acevedo, M.F. 2018. Introduction to Renewable Electric Power Systems and the Environment with R. Boca Raton, FL: CRC Press. (ISBN 9781138197343)
Irwin, J.D. and R.M. Nelms. 2011. Basic Engineering Circuit Analysis. 11th edition. 2011: Wiley.
AC functions ac.plot, phasor.plot, waves
ac.plot
phasor.plot
waves
# NOT RUN { # rectified wave v.AC <- list(c(170,0)) v.t <- waves(v.AC,nc=4) V.t <- rectifier(v.t) ac.plot.rect(V.t) # inverter x <- list(f=60,vin=170,nc=2) inverter(x) # }
Run the code above in your browser using DataLab